package com.ujiuye.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author 施立璇
 * @version 1.0
 * @description: TODO Thymeleaf条件判断、选择语句
 * @date 2021/5/20 21:55
 */
@Controller
public class FiveThymeleafController {

    @GetMapping("/five")
    public String indexPage(Model model) {
        model.addAttribute("flag", "yes");
        model.addAttribute("menu", "admin");
        model.addAttribute("manager", "manager");
        return "index5";
    }
}
